<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title></title>
</head>
<body>
    <s:set value="immortal.created" var="varCreated"/>
    <%
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        String date = sdf.format(new Date(Long.valueOf(request.getAttribute("varCreated").toString())));
    %>

    <b>First Name:</b><s:property value="immortal.firstname"/><br>
    <b>Last Name:</b><s:property value="immortal.lastname"/><br>
    <b>Telephone:</b><s:property value="immortal.telephone"/><br>
    <b>Email:</b><s:property value="immortal.email"/><br>
    <b>Created:</b><%= date%><br>
</body>
</html>